package me.zhengjie.modules.management.service;


import me.zhengjie.modules.management.domain.ConferenceRoom;
import me.zhengjie.modules.management.domain.ConferenceType;
import me.zhengjie.modules.management.domain.MrConferencePurpose;
import me.zhengjie.modules.management.domain.Pageable;
import me.zhengjie.modules.management.service.dto.ConferenceRoomQueryCriteria;



import java.util.List;
import java.util.Map;

/**
        * @Author: yuchao.wang
        * @Date: 2020/12/7
        * @Description: 预约教室Service
        */
public interface ConferenceRoomService {
    /**
     * 查询预约教室
     *
     * @param conferenceRoomQueryCriteria
     * @return me.zhengjie.modules.management.domain.ConferenceRoom
     */
    Map<String, Object> findByCriteria(ConferenceRoomQueryCriteria conferenceRoomQueryCriteria, Pageable pageable);

    /**
     * 根据教室id查询目的列表
     * @return
     */
    List<MrConferencePurpose> findPurposeByRoomId(Integer roomId);

    /**
     * 创建
     *
     * @param resources
     * @return void
     */
    void create(ConferenceRoom resources);

    /**
     * 编辑
     *
     * @param resources
     * @return void
     */
    void update(ConferenceRoom resources);

    /**
     * 多选删除
     *
     * @param ids
     * @return void
     */
    void delete(List<Integer> ids);

    /**
     * 根据ID查询
     *
     * @param roomId
     * @return void
     */

    List<ConferenceRoom> findById(Integer roomId)  ;



}
